/**   
 * Copyright © 2016 北京之洲科技有限责任公司. All rights reserved.
 * 
 * @Title: User.java 
 * @Prject: carfactory
 * @Package: com.zizo.autohome.user 
 * @Description: 
 * @author: Alexis  
 * @email heyan0227@outlook.com
 * @date: 2016年7月23日 上午11:31:04 
 * @version: V1.0   
 */
package com.zizo.autohome.user.bean;

import java.util.List;

import com.zizo.core.T;

/**
 * @ClassName: User
 * @Description:
 * @author: Alexis
 * @date: 2016年7月23日 上午11:31:04
 */
public class User implements T {
	private int userID;// 用户ID
	private String userName;// 用户姓名
	private int attentionCount;// 关注数量
	private int fansCount;// 粉丝数量
	private String location;// 所在地
	private int garageCount;// 车库数量
	private List<String> garageIDs;// 车库ID的集合,插入数据库的时候，以','分开
	private List<String> certifications;// 认证的车子
	private int mostFocus;// 最关注的车子
	private int running;// 正在开

	/**
	 * @Title: getUserID
	 * @Description: getter and setter methods
	 * @return
	 * @return: String
	 * @author: Alexis
	 */

	public String getUserName() {
		return userName;
	}

	public int getRunning() {
		return running;
	}

	public void setRunning(int running) {
		this.running = running;
	}

	public List<String> getCertifications() {
		return certifications;
	}

	public void setCertifications(List<String> certifications) {
		this.certifications = certifications;
	}

	public int getMostFocus() {
		return mostFocus;
	}

	public void setMostFocus(int mostFocus) {
		this.mostFocus = mostFocus;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public int getAttentionCount() {
		return attentionCount;
	}

	public void setAttentionCount(int attentionCount) {
		this.attentionCount = attentionCount;
	}

	public int getFansCount() {
		return fansCount;
	}

	public void setFansCount(int fansCount) {
		this.fansCount = fansCount;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public int getGarageCount() {
		return garageCount;
	}

	public void setGarageCount(int garageCount) {
		this.garageCount = garageCount;
	}

	public List<String> getGarageIDs() {
		return garageIDs;
	}

	public void setGarageIDs(List<String> garageIDs) {
		this.garageIDs = garageIDs;
	}

	public User(int userID, String userName, int attentionCount, int fansCount, String location, int garageCount,
			List<String> garageIDs, List<String> certifications, int mostFocus, int running) {
		super();
		this.userID = userID;
		this.userName = userName;
		this.attentionCount = attentionCount;
		this.fansCount = fansCount;
		this.location = location;
		this.garageCount = garageCount;
		this.garageIDs = garageIDs;
		this.certifications = certifications;
		this.mostFocus = mostFocus;
		this.running = running;
	}

	public User() {

	}

	@Override
	public String toString() {
		return this.userID + "\t" + this.userName + "\t" + this.attentionCount + "\t" + this.fansCount + "\t"
				+ this.location + "\t" + this.garageCount + "\t" + this.garageIDs;
	}
}
